projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e042d82
)
(frame-background-mode): Define a :set function
author
Richard M. Stallman
<rms@gnu.org>
Wed, 20 May 1998 00:40:19 +0000
(
00:40
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 20 May 1998 00:40:19 +0000
(
00:40
+0000)
to update the background mode of existing frames.
lisp/faces.el
patch
|
blob
|
history
diff --git
a/lisp/faces.el
b/lisp/faces.el
index 58b984ce876057fe3288b9670c321d88cc50b086..2e3529fabf36458b2acd6790a03dd39d1d61e060 100644
(file)
--- a/
lisp/faces.el
+++ b/
lisp/faces.el
@@
-1432,6
+1432,10
@@
Set this to the symbol dark if your background color is dark, light if
your background is light, or nil (default) if you want Emacs to
examine the brightness for you."
:group 'faces
+ :set #'(lambda (var value)
+ (set var value)
+ (mapcar 'frame-set-background-mode (frame-list)))
+ :initialize 'custom-initialize-changed
:type '(choice (choice-item dark)
(choice-item light)
(choice-item :tag "default" nil)))